# -*- coding: utf-8 -*-
import logging
import sys

CELERY_BROKER_URL = 'amqp://shitouren:UWvQC724myihbJSpmkoH' \
                    '@10.44.206.245:5672//app'

path_template_pfx = sys.path[0]
path_static_pfx = sys.path[0]

LOG_LEVEL = logging.WARN

mongo_host = 'mongodb://shitouren:jmS0gOQLVDKte8kaJ1dM' \
             '@10.44.206.245:8013,10.171.34.4:8013/admin?replicaSet=qmap'

mysql_host = '10.44.206.245'
mysql_port = 8004
mysql_user      = 'root'
mysql_passwd    = 'AbEkbigmc2bvtaqhoRYI'

memcached_addr  = ["10.44.206.245:8001"]
redis_host      = '10.44.206.245'
redis_port      = 8002
redis_passwd    = 'NKc9zgU0Kozz487Q21Rd'
search_host     = '10.44.206.245'
search_port     = 8005
search_key      = 'urlid'